package vn.edu.saigontech.ncms.service;

import java.util.Collection;
import java.util.Date;
import java.util.List;

import vn.edu.saigontech.ncms.model.bookstore.Order;
import vn.edu.saigontech.ncms.model.user.User;
import vn.edu.saigontech.ncms.service.impl.OrderServiceImpl;

public interface OrderService extends GenericService<Order, Long> {
	static final OrderService INSTANCE = new OrderServiceImpl();
	
	Collection<Order> find(String studentName, Date date, User user);
	
	List<Order> findByDateAsc(Date fromDate, Date toDate);
}